home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 1865 / 1865.xpi / chrome / adblockplus.jar / content / ui / mailOverlay.xul < prev    next >
Extensible Markup Language  |  2010-01-07  |  2KB  |  72 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!-- ***** BEGIN LICENSE BLOCK *****
  4.      - Version: MPL 1.1
  5.      -
  6.      - The contents of this file are subject to the Mozilla Public License Version
  7.      - 1.1 (the "License"); you may not use this file except in compliance with
  8.      - the License. You may obtain a copy of the License at
  9.      - http://www.mozilla.org/MPL/
  10.      -
  11.      - Software distributed under the License is distributed on an "AS IS" basis,
  12.      - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  13.      - for the specific language governing rights and limitations under the
  14.      - License.
  15.      -
  16.      - The Original Code is Adblock Plus.
  17.      -
  18.      - The Initial Developer of the Original Code is
  19.      - Wladimir Palant.
  20.      - Portions created by the Initial Developer are Copyright (C) 2006-2009
  21.      - the Initial Developer. All Rights Reserved.
  22.      -
  23.      - Contributor(s):
  24.      -
  25.      - ***** END LICENSE BLOCK ***** -->
  26.  
  27. <?xul-overlay href="chrome://adblockplus/content/ui/overlayGeneral.xul"?>
  28.  
  29. <overlay id="abp-overlay" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  30.     <!-- Window extensions -->
  31.     <window id="messengerWindow">
  32.         <popupset id="abp-popupset"/>
  33.         <keyset id="abp-keyset"/>
  34.         <commandset id="abp-commandset"/>
  35.         <box id="abp-hooks" getBrowser="return window.messageContent;"
  36.             addTab="let tabmail = E('tabmail');return (tabmail ? tabmail.openTab('contentTab', {contentPage: arguments[0]}) : false);"
  37.             getContextMenu="return E('messagePaneContext');"
  38.             getToolbox="return E('mail-toolbox')"
  39.             getDefaultToolbar="return E('mail-bar2') || E('msgToolbar');" toolbarInsertBefore="return E('button-junk');"/>
  40.     </window>
  41.  
  42.     <!-- Status bar -->
  43.     <statusbar id="status-bar">
  44.         <statusbarpanel id="abp-status"/>
  45.     </statusbar> 
  46.  
  47.     <!-- Toolbar -->
  48.     <toolbarpalette id="MailToolbarPalette">
  49.         <toolbarbutton id="abp-toolbarbutton" type="menu-button" insertafter="button-junk"
  50.                 class="chromeclass-toolbar-additional toolbarbutton-1"/>
  51.     </toolbarpalette>
  52.  
  53.     <!-- Tools menu -->
  54.     <menupopup id="taskPopup">
  55.         <menuitem id="abp-menuitem" insertafter="downloadmgr,javaScriptConsole"/>
  56.     </menupopup>
  57.  
  58.     <!-- Context menu -->
  59.     <popup id="messagePaneContext">
  60.         <menuitem id="abp-image-menuitem"/>
  61.         <menuitem id="abp-object-menuitem"/>
  62.         <menuitem id="abp-frame-menuitem"/>
  63.         <menuitem id="abp-removeWhitelist-menuitem"/>
  64.     </popup>
  65.  
  66.     <!-- Fake sidebar -->
  67.     <vbox id="messagepanebox">
  68.         <splitter id="abp-sidebar-splitter"/>
  69.         <vbox id="abp-sidebar"/>
  70.     </vbox>
  71. </overlay>
  72.